﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nage.Examples.Rastrigin.Solution;
using Nage.Examples.RastriginIsland.Topologies;
using Nage.Algorithms.Population;

namespace Nage.Examples.RastriginIsland
{
    public class Migrator : ITopologyMigrator<Coordinates>
    {
        private RastriginFunctionEvaluator _evaluator = new RastriginFunctionEvaluator();

        public void Migrate(ref IPopulation<Coordinates> from, ref IPopulation<Coordinates> to)
        {
            //Coordinates fromCoord = from.First();
            //from.Remove(fromCoord);
            //to.Add(fromCoord);
        }
    }
}
